﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;


namespace GUI
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void tiếpNhậnHồSơĐăngKíToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmTiepNhanHoSoDangKi f = new frmTiepNhanHoSoDangKi();
            f.ShowDialog();
        }

        private void ghiNhậnKếtQuảTrậnĐấuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGhiNhanKetQuaTranDau f = new frmGhiNhanKetQuaTranDau();
            f.ShowDialog();
        }

        private void thôngTinNhómPhátTriểnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThongTinLienHe f = new frmThongTinLienHe();
            f.ShowDialog();
        }

        private void traCứuCầuThủToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmTraCuuCauThu f = new frmTraCuuCauThu();
            f.ShowDialog();
        }

        private void lậpLịchThiĐấuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmLapLichThiDau f = new frmLapLichThiDau();
            f.ShowDialog();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
        
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void thayĐổiQuyĐịnh1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThayDoiQuyDinh_1 f = new frmThayDoiQuyDinh_1();
            f.ShowDialog();
        }

        private void thayĐổiQuyĐịnh3ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThayDoiQuyDinh_3 f = new frmThayDoiQuyDinh_3();
            f.ShowDialog();
        }

        private void thayĐổiQuyĐịnh5ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThayDoiQuyDinh_5 f = new frmThayDoiQuyDinh_5();
            f.ShowDialog();
        }

        private void danhSáchCácCầuThủGhiBànToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDanhSachCacCauThuGhiBanReport f = new frmDanhSachCacCauThuGhiBanReport();
            f.ShowDialog();
        }
        private void lậpBảngXếpHạngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBangXepHangReport f = new frmBangXepHangReport();
            f.ShowDialog();
        }

        private void hướngDẫnSửDụngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Process.Start(Application.StartupPath + "\\Help.chm");//duong dan file help
        }
    }
}
